package com.youthburin.rmp;

import org.apache.shiro.crypto.hash.Md5Hash;

public class GenerateUserDefaultPassword {
	public static void main(String[] args) {
		String salt = "liwei";
		String source = "8888";
		String password = "";

		Md5Hash hash = new Md5Hash(source, salt, 1024);

		password = hash.toBase64();

		System.out.println(password);
	}
}
